package com.genshang.restaurant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alex
 * @since 2020-09-26
 */
@TableName("ROLELIST")
public class Rolelist extends Model<Rolelist> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "RECORD_ID", type = IdType.AUTO)
    private Long recordId;

    @TableField("ROLEUID")
    private String roleuid;

    @TableField("ID")
    private String id;

    @TableField("CREATETIME")
    private Long createtime;

    @TableField("MODIFYTIME")
    private Long modifytime;

    @TableField("NAME")
    private String name;

    @TableField("REMARKS")
    private String remarks;

    @TableField("STATE")
    private String state;

    @TableField("TOKENLIST")
    private String tokenlist;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    public String getRoleuid() {
        return roleuid;
    }

    public void setRoleuid(String roleuid) {
        this.roleuid = roleuid;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }
    public Long getModifytime() {
        return modifytime;
    }

    public void setModifytime(Long modifytime) {
        this.modifytime = modifytime;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public String getTokenlist() {
        return tokenlist;
    }

    public void setTokenlist(String tokenlist) {
        this.tokenlist = tokenlist;
    }

    @Override
    protected Serializable pkVal() {
        return this.recordId;
    }

    @Override
    public String toString() {
        return "Rolelist{" +
            "recordId=" + recordId +
            ", roleuid=" + roleuid +
            ", id=" + id +
            ", createtime=" + createtime +
            ", modifytime=" + modifytime +
            ", name=" + name +
            ", remarks=" + remarks +
            ", state=" + state +
            ", tokenlist=" + tokenlist +
        "}";
    }
}
